import { Injectable } from '@angular/core';

import { HttpService } from './HttpService';

@Injectable()
export class CheckOutService {
  constructor (
    private httpService: HttpService
  ) {}

  save(data) {
    let url = '/api/check_out/set';
    return this.httpService.httpPostNoAuth(url, data);
  }

  get(data) {
    let url = '/api/check_out/get';
    return this.httpService.httpPostNoAuth(url, data);
  }
}
